﻿using ProductionManage.Models.DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace wangyaxin.Jiangzhenying.Workstations
{
    public interface IWorkstationIService:IApplicationService
    {
        /// <summary>
        /// 获取工作站列表
        /// </summary>
        /// <returns></returns>
        Task<string> GetWorkstationLists(string? workstationCode,string? workstationName,int workShopId, int processId);

        /// <summary>
        /// 新增工作站
        /// </summary>
        /// <returns></returns>
        Task<int> AddWorkstation(Workstation input);

        /// <summary>
        /// 删除工作站
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<string> DeleteWorkstation(int id);

        /// <summary>
        /// 绑定动态车间
        /// </summary>
        /// <returns></returns>
        Task<string> GetWorkShop();

        /// <summary>
        /// 绑定动态工序
        /// </summary>
        /// <returns></returns>
        Task<string> GetProProcess();
    }
}
